/**
 * 
 */
package com.dovgopoly.carlogbook.web.login.client;

import com.dovgopoly.carlogbook.web.login.client.presenter.LoginPresenter;
import com.dovgopoly.carlogbook.web.login.client.presenter.RegistrationPresenter;
import com.dovgopoly.carlogbook.web.login.client.view.LoginViewimpl;
import com.mvp4g.client.annotation.Event;
import com.mvp4g.client.annotation.Events;
import com.mvp4g.client.annotation.Start;
import com.mvp4g.client.event.EventBus;

/**
 * @author Zhenya
 * 
 */
@Events(startView = LoginViewimpl.class, ginModules = LoginGinModule.class)
public interface LoginEventBus extends EventBus {

	@Start
	@Event(handlers = LoginPresenter.class)
	void start();

	@Event(handlers = RegistrationPresenter.class)
	void showRegistrationForm();

}
